package com.pic.entity;

/**
 * 接口返回封装
 */
public class ObjResults {
	private Object data;
	private String msg;
	/** "success"或"error" */
	private String result;
	private long time;
	
	public ObjResults() {
		super();
		time = System.currentTimeMillis();
	}
	
	public ObjResults(Object data, String msg, String result) {
		super();
		this.data = data;
		this.msg = msg;
		this.result = result;
		time = System.currentTimeMillis();
	}
	
	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}
}
